#ifndef HELPERS_H_
#define HELPERS_H_

/**
 * @file Helpers.h
 * @brief Math helper functions.
 */

#include "Fixed.h"

namespace uav
{
namespace math
{

/**
 * Converts degrees to radians.
 */
Fixed degreesToRadians(const Fixed &deg);

/**
 * Converts minutes to radians.
 */
Fixed minutesToRadians(const Fixed &min);

/**
 * Converts degrees, minutes to radians.
 */
Fixed degreesMinutesToRadians(int deg, const Fixed &min);

/**
 * Converts radians to degrees.
 */
Fixed radiansToDegrees(const Fixed &rad);

}} // end namespace


#endif
